Skip to content

Fix struct_tail_raw argument order and ObligationCause usage#138456

Closed
JumpiiX wants to merge 11 commits intorust-lang:mainfrom
JumpiiX:fix-struct_tail_raw
Closed

Fix struct_tail_raw argument order and ObligationCause usage#138456
JumpiiX wants to merge 11 commits intorust-lang:mainfrom
JumpiiX:fix-struct_tail_raw

Conversation

@JumpiiX
Copy link
Copy Markdown
Contributor

@JumpiiX JumpiiX commented Mar 13, 2025

Fixes #135629

This PR updates struct_tail_raw to correctly order its parameters by moving the closure before ObligationCause. This resolves type mismatch errors and ensures that all call sites pass the correct number of arguments.

Changes:

  • Reordered parameters in struct_tail_raw
  • Updated all call sites to match the new signature
  • Ensured that ObligationCause is correctly used where required
  • Fixed related type mismatch issues

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Give recursion limit errors a span

7 participants